<?php
namespace app\common\model;
use think\Model;



class Supplier extends \M
{
  public function goods(){
    return $this->hasMany('Goods')
                ->where("status",1)
                ->order("sort_order");
  }

}
